//#define __DEBUG__
// by Tyrghen
#define THIS_FILE "fn_isadmin.sqf"
#include "x_setup.sqf"

(player getVariable [QGVAR(p_isadmin), false]) || (if (!isnil "mp_rights_fnc_hasRoles") then { [(getPlayerUID player),["admin"]] call mp_rights_fnc_mustHaveRoles } else { false });